<?php
class ClassBuilders {

	final static function runAction() {
		if (isset($_REQUEST["function"]) && $_REQUEST["function"] == "User.automaticLogOut"){
			Security::sessionStart(false);
		}else{
			Security::sessionStart();
		}
		Security::correctHttpRefererRedirection();
		Actions::switchAction();
	}
}